<?php

Router::connect('/admin', array('plugin' => 'Admin', 'controller' => 'AdminDashboard', 'action' => 'index'));
Router::connect('/admin/dashboard', array('plugin' => 'Admin', 'controller' => 'AdminDashboard', 'action' => 'dashboard'));

Router::connect('/admin/authors', array('plugin' => 'Admin', 'controller' => 'AdminAuthors'));
Router::connect('/admin/authors/:action', array('plugin' => 'Admin', 'controller' => 'AdminAuthors'));
Router::connect('/admin/authors/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminAuthors'));

Router::connect('/admin/misc/:action', array('plugin' => 'Admin', 'controller' => 'AdminMiscellaneous'));
Router::connect('/admin/misc/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminMiscellaneous'));

Router::connect('/admin/pets', array('plugin' => 'Admin', 'controller' => 'AdminPets'));
Router::connect('/admin/pets/:action', array('plugin' => 'Admin', 'controller' => 'AdminPets'));
Router::connect('/admin/pets/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminPets'));

Router::connect('/admin/regions', array('plugin' => 'Admin', 'controller' => 'AdminRegions'));
Router::connect('/admin/regions/:action', array('plugin' => 'Admin', 'controller' => 'AdminRegions'));
Router::connect('/admin/regions/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminRegions'));

Router::connect('/admin/store/products', array('plugin' => 'Admin', 'controller' => 'AdminProducts'));
Router::connect('/admin/store/products/:action', array('plugin' => 'Admin', 'controller' => 'AdminProducts'));
Router::connect('/admin/store/products/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminProducts'));

Router::connect('/admin/store/users', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));
Router::connect('/admin/store/users/:action', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));
Router::connect('/admin/store/users/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));

Router::connect('/admin/store/foundations', array('plugin' => 'Admin', 'controller' => 'AdminFoundations'));
Router::connect('/admin/store/foundations/:action', array('plugin' => 'Admin', 'controller' => 'AdminFoundations'));
Router::connect('/admin/store/foundations/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminFoundations'));

Router::connect('/admin/stories', array('plugin' => 'Admin', 'controller' => 'AdminStories'));
Router::connect('/admin/stories/:action', array('plugin' => 'Admin', 'controller' => 'AdminStories'));
Router::connect('/admin/stories/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminStories'));

Router::connect('/admin/users', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));
Router::connect('/admin/users/:action', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));
Router::connect('/admin/users/:action/*', array('plugin' => 'Admin', 'controller' => 'AdminUsers'));

Router::connect('/admin/settings', array('plugin' => 'Admin', 'controller' => 'AdminSettings'));
Router::connect('/admin/settings/*', array('plugin' => 'Admin', 'controller' => 'AdminSettings'));

Router::connect('/admin/store', array('plugin' => 'Admin', 'controller' => 'AdminStore'));